/**
 * 
 */
package com.ztesoft.web.common.service;

import java.util.List;

import com.ztesoft.core.common.Page;
import com.ztesoft.framework.exception.BaseAppException;
import com.ztesoft.web.common.db.po.OperationLogPO;

/**
 * <Description> <br>
 * 
 * @author codeCreater<br>
 * @version 1.0<br>
 * @taskId <br>
 * @CreateDate 2014年11月11日 <br>
 * @since V1.0<br>
 * @see com.ztesoft.web.common.service <br>
 */

public interface IOperationLogService {

    OperationLogPO selectByPrimaryKey(Integer key) throws BaseAppException;

    List<OperationLogPO> selectByArg(OperationLogPO record) throws BaseAppException;

    Page<OperationLogPO> selectByArgAndPage(OperationLogPO record, Page<OperationLogPO> resultPage)
            throws BaseAppException;

    int add(OperationLogPO record) throws BaseAppException;

    int update(OperationLogPO record) throws BaseAppException;

    int delete(OperationLogPO record) throws BaseAppException;
    
    int addOperationLogPO(Integer opType, String opDesc) throws BaseAppException;

	int add(String opDesc);

}
